<div data-role="data" id='settings-div'>
	<ul data-role="listview">
		<li data-role="list-divider">Dietary Requirements</li>
		<li><a href="<?=base_url()?>settings/manageAllergies" ><h3>Manage Dietary Requirements</h3><p>Modify the type of meals that will trigger an alert when ordering/voting</p></a></li>
		<li data-role="list-divider">Cancel Orders</li>
		<li data-icon="delete"><a onclick='doCancelVote()' >Cancel Vote</a></li>
		<li data-icon="delete"><a onclick='doCancelOrder()' >Cancel Order</a></li>
		<li data-role="list-divider">Settings</li>
		<li><a href="<?=base_url()?>settings/showChangePassword" ><h3>Change Password</h3><p>Change your password</p></a></li>
		<li data-icon="back"><a href="<?=base_url()?>login/doLogout" ><h3>Log Out</h3><p>Logout '<?=$username?>' from the Residential Meal Planner</p></a></li>
	</ul>
</div>
<? if ($device): ?>
<div data-role="fieldcontain" class='mobile-padding'>
	<p>Have you considered getting the native application for your <?=$device?>?</p>
	<p>Benefits include:</p>
	<ul>
	<li>Faster Load Times</li>
	<li>Push Notifications for messages</li>
	<li>Stored credentials for easy meal ordering access</li>
	</ul>
	<p>
	<? if ($device == 'Android'): ?>
		<a href="http://rmplanner.net/dist/rmplanner.apk" data-role-"button" rel="external" data-mini="true" data-theme="b"> Pick up the <?=$device?> app here!</a>
	<?endif;?>
	</p>
</div>
<? endif;?>